package org.world.domain.aggregate.sheep.event;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.mc.ddd.event.BaseDomainEvent;
import org.world.domain.aggregate.animal.constant.GenderEnum;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SheepCreatedEvent extends BaseDomainEvent {
    private Long sheepId;

    private String name;

    private GenderEnum gender;

    private Boolean isPregnant;

    private Long motherId;

    private LocalDateTime gaveBirthTime;

    private Boolean hasHorn;
}
